package com.test.springboot.springBootUtils.controller;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.web.bind.annotation.RestController;

/**
 * 这里是JMS的controller
 * @author huyong
 *
 */
@RestController
public class JmsController {
	/**
	 * 监听指定的 queues 队列
	 * destination: 需要监听的队列名称
	 * @author huyong
	 * @date 2020年9月2日下午2:37:28
	 * @return void
	 */
	@JmsListener(id = "", concurrency = "", containerFactory = "", destination = "${jms.activeMq.queueName}", selector = "", subscription = "")
	public void listenerQueues() {

	}

}
